package com.py.framework.entity;

import com.py.framework.core.entity.BaseEntity;

/**
 * 任务实体
 * @author Leegern
 * @date   2018年4月22日
 */
public class TaskEntity extends BaseEntity {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 456042776388331366L;
	/** 任务名称 **/
	private String taskName;
	/** 任务描述 **/
	private String taskDesc;
	/** 任务调用地址 **/
	private String taskUrl;
	/** 所属系统ID **/
	private long menuId;
	/** CRON表达式 **/
	private String cronExp;
	/** 任务状态，1：开启，2：停用 **/
	private int taskStatus;
	
	/** 更新标识，1：否，2：是 **/
	private int updFlag;
	/** 系统名称 **/
	private String sysName;
	/** 系统地址 **/
	private String sysAddr;
	
	
	/**
	 * @return the taskName
	 */
	public String getTaskName() {
		return taskName;
	}
	/**
	 * @param taskName the taskName to set
	 */
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	/**
	 * @return the taskDesc
	 */
	public String getTaskDesc() {
		return taskDesc;
	}
	/**
	 * @param taskDesc the taskDesc to set
	 */
	public void setTaskDesc(String taskDesc) {
		this.taskDesc = taskDesc;
	}
	/**
	 * @return the taskUrl
	 */
	public String getTaskUrl() {
		return taskUrl;
	}
	/**
	 * @param taskUrl the taskUrl to set
	 */
	public void setTaskUrl(String taskUrl) {
		this.taskUrl = taskUrl;
	}
	/**
	 * @return the menuId
	 */
	public long getMenuId() {
		return menuId;
	}
	/**
	 * @param menuId the menuId to set
	 */
	public void setMenuId(long menuId) {
		this.menuId = menuId;
	}
	/**
	 * @return the cronExp
	 */
	public String getCronExp() {
		return cronExp;
	}
	/**
	 * @param cronExp the cronExp to set
	 */
	public void setCronExp(String cronExp) {
		this.cronExp = cronExp;
	}
	/**
	 * @return the taskStatus
	 */
	public int getTaskStatus() {
		return taskStatus;
	}
	/**
	 * @param taskStatus the taskStatus to set
	 */
	public void setTaskStatus(int taskStatus) {
		this.taskStatus = taskStatus;
	}
	/**
	 * @return the sysName
	 */
	public String getSysName() {
		return sysName;
	}
	/**
	 * @param sysName the sysName to set
	 */
	public void setSysName(String sysName) {
		this.sysName = sysName;
	}
	/**
	 * @return the sysAddr
	 */
	public String getSysAddr() {
		return sysAddr;
	}
	/**
	 * @param sysAddr the sysAddr to set
	 */
	public void setSysAddr(String sysAddr) {
		this.sysAddr = sysAddr;
	}
	/**
	 * @return the updFlag
	 */
	public int getUpdFlag() {
		return updFlag;
	}
	/**
	 * @param updFlag the updFlag to set
	 */
	public void setUpdFlag(int updFlag) {
		this.updFlag = updFlag;
	}
}